﻿using Shake.Framework.Models;
using System;

namespace Shake.Framework.Attributes
{
    [AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
    public class GrantAttribute : Attribute
    {
        public string Name { get; set; }

        /// <summary>
        /// 不可用的
        /// </summary>
        public bool IsObsolete { get; set; }

        public GrantAttribute(string name)
        {
            this.Name = name;
        }
    }
}
